package com.nineclock.sign.service;

import com.nineclock.common.entity.PageResult;
import com.nineclock.sign.dto.SignAndDepartmentDTO;
import com.nineclock.sign.dto.SignDTO;
import com.nineclock.sign.dto.SignInfoDTO;
import com.nineclock.sign.dto.SignPageDTO;
import com.nineclock.sign.pojo.SignInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 *
 */
public interface SignInfoService{

    void insert(Map map);

    Integer getDayCount();

    List<SignDTO> listSignAllUser(String dateStr);

    List<SignInfoDTO> pagingSignCurrentUserByMonth(String dateStr);


    PageResult<SignPageDTO> querySignPage(String startTime, String endTime, Integer page, Integer pageSize);

    void exportSignList(String startTime, String endTime) throws IOException;

    String generateSignReport(Long companyId);
}
